package org.brisling.medical.domain;



import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;


/**
 * 基本药物监控统计数据实体类
 * <p>Title: BaseMedical</p>
 * <p>Description: </p>
 * <p>Company: tongking </p>
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年5月25日 下午5:16:21
 */
@Entity
@Table(name=ConstSysParam.MODULE_BASE_MEDICAL)

public class BaseMedical extends BaseMonitorDomain implements BaseDomainInf{

	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="baseMedicalGenerator")
	@TableGenerator(name="baseMedicalGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_BASE_MEDICAL,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	/**
	 * 药品种类
	 */
	private Long drug_type;
	
	/**
	 * 基本药品种类
	 */
	private Long base_drug_type;
	
	/**
	 * 药品金额
	 */
	private Double drug_amount;
	/**
	 * 基本药品金额
	 */
	private Double base_drug_amount;
	
	/**
	 * 基本药物种类比例
	 */
	private Double type_percent;
	
	/**
	 * 基药品种比例标准
	 */
	private Double type_percent_standard;
	/**
	 * 基本药物金额比例
	 */
	private Double amount_percent;
	
	

	public Long getDrug_type() {
		return drug_type;
	}

	public void setDrug_type(Long drug_type) {
		this.drug_type = drug_type;
	}

	public Long getBase_drug_type() {
		return base_drug_type;
	}

	public void setBase_drug_type(Long base_drug_type) {
		this.base_drug_type = base_drug_type;
	}

	public Double getDrug_amount() {
		return drug_amount;
	}

	public void setDrug_amount(Double drug_amount) {
		this.drug_amount = drug_amount;
	}

	public Double getBase_drug_amount() {
		return base_drug_amount;
	}

	public void setBase_drug_amount(Double base_drug_amount) {
		this.base_drug_amount = base_drug_amount;
	}

	public Double getType_percent() {
		return type_percent;
	}

	public void setType_percent(Double type_percent) {
		this.type_percent = type_percent;
	}

	public Double getAmount_percent() {
		return amount_percent;
	}

	public void setAmount_percent(Double amount_percent) {
		this.amount_percent = amount_percent;
	}	

	public Double getType_percent_standard() {
		return type_percent_standard;
	}

	public void setType_percent_standard(Double type_percent_standard) {
		this.type_percent_standard = type_percent_standard;
	}	
	
}
